package com.lmxdawn.api.dnf.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lmxdawn.api.admin.entity.GoldCoin;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * orderItem实体类
 * @author
 *
 */

@TableName("t_order_items")
//@Table(name="t_order_items")
@Data
public class OrderItem implements Serializable {

	private Long id;//商品项ID

	@TableField(value = "order_id")
	private String orderId;//订单ID
	private Long productId;//商品ID
	private BigDecimal quantityOrder;//数量
	private BigDecimal quantityReceived;//到手数量
	private BigDecimal price;//单价


	@TableField(exist = false)
	private GoldCoin goldCoin;
}
